class_name Entity_Character
extends Entity

#region 属性
#endregion
#region 字段
#endregion
#region 信号
#endregion

#region 基类方法
func init():
	super()
#endregion
#region 公共方法
func change_vel(vel:Vector2):
	root = root as CharacterBody2D
	var attr:Attribute = entity_data.find_attribute("Vel")
	if attr:
		attr.force_set_base_value(vel)
func change_acc(acc:Vector2):
	var attr:Attribute = entity_data.find_attribute("Acc")
	if attr:
		attr.force_set_base_value(acc)
func add_rotation(rot:float):
	root = root as CharacterBody2D
	root.rotate(rot)
#region 组件获取
#endregion
#endregion
#region 私有方法
#endregion
#region 生命周期函数
#endregion
